/**
 * 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
 * 日    期：2020-04-29
 */
package com.rzico.order.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import java.util.Date;

/**
 * <pre>
 *   订单支付明细
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
public class OrderPaymentVo {

    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "可用余额" )
    protected java.math.BigDecimal balance;

    @ApiModelProperty(value = "实付余额" )
    protected java.math.BigDecimal amount;

    @ApiModelProperty(value = "使用张数" )
    protected java.math.BigDecimal quantity;

    @ApiModelProperty(value = "是否使用" )
    protected Boolean chk;

    @ApiModelProperty(value = "支付插件")
    protected String paymentPluginId;

    @ApiModelProperty(value = "支付明细")
    protected String attach;

    @ApiModelProperty(value = "有效期" )
    protected Date endDate;

    @ApiModelProperty(value = "付款方式（中文名）")
    protected String paymentPluginName;

}
